package com.qf.common.feigns;

import com.qf.common.bean.R;
import com.qf.common.model.QfTenant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "qf-center-service")
public interface TenantApi {

    /**
     * 租户登录
     * @param qfTenant
     * @return
     */
    @PostMapping("/api/tenant/login")
    R login(@RequestBody(required = false) QfTenant qfTenant);
}
